<!DOCTYPE html>
<html lang="fr">
	<head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="description" content="Description de la page en quelques phrases/" />
		<meta name="author" content="Frakass" />
		<title>Titre de la page</title>
		<link rel="stylesheet" href="style.css" />
	</head>
<body>
	<div id="bloc-page">
		<header>
			<div id="titre-principale">		
				<h1> Titre de la page </h1>
			</div>
					<nav>
 						<ul>
 							<li><a href="index.php">accueil</a></li>
 							<li><a href="bts_sio_1.php">bts sio</a></li>
 							<li><a href="#">cycle bachelor</a></li>
 							<li><a href="#">cycle ingénieur</a></li>
 							
 						</ul>
		
					</nav>
		</header>

		<section>
<?php
	session_start();
	include_once("constante.php");
	include("DataBase.php");
	
	$db = connect();
	
	if (isset($_SESSION['pseudo']))
	{
		$req = $db->prepare('SELECT LASTNAME, FIRSTNAME, PSEUDO, MAIL, PROMOTION, YEAR, ECOLE FROM users');
		$req->execute(array(
		['LASTNAME'],
		['FIRSTNAME'],
		['PSEUDO'],
		['MAIL'],
		['PROMOTION'],
		['YEAR'],
		['ECOLE'],
		));	
	}
	{
			echo "Vous devez vous <a href='index.php'> connecter</a>";
	}
		
?>
		</section>
</body>
</html>